package com.imxplus.example01

object Messages {

  trait Action {
    val message: String
    val time: Int
  }

  case class TurnOnLight(time: Int) extends Action {
    override val message: String = "Turn on the living root light"
  }

  case class BoilWater(time: Int) extends Action {
    override val message: String = "Burn a pot of water"
  }

}
